package com.chinawlx.wlxteacher.network.bean;

/**
 * 作者:吴名
 * 时间:16/8/5
 * 描述:获取验证码
 */
public class WLXGetCodeBean {

    private int Code;
    private String Msg;
    private String Data;

    public int getCode() {
        return Code;
    }

    public void setCode(int Code) {
        this.Code = Code;
    }

    public String getMsg() {
        return Msg;
    }

    public void setMsg(String Msg) {
        this.Msg = Msg;
    }

    public String getData() {
        return Data;
    }

    public void setData(String Data) {
        this.Data = Data;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        WLXGetCodeBean that = (WLXGetCodeBean) o;

        if (Code != that.Code) return false;
        if (Msg != null ? !Msg.equals(that.Msg) : that.Msg != null) return false;
        return Data != null ? Data.equals(that.Data) : that.Data == null;

    }

    @Override
    public int hashCode() {
        int result = Code;
        result = 31 * result + (Msg != null ? Msg.hashCode() : 0);
        result = 31 * result + (Data != null ? Data.hashCode() : 0);
        return result;
    }

    @Override
    public String toString() {
        return "WLXGetCodeBean{" +
                "Code=" + Code +
                ", Msg='" + Msg + '\'' +
                ", Data='" + Data + '\'' +
                '}';
    }
}
